package com.dhx.pojo;

import java.util.Date;

public class Student {
    private int id;
    private String name;
    private String number;
    private Date time;
    private int flag;

    public Student() {
    }

    public Student(int id, String name, String number, Date time, int flag) {
        this.id = id;
        this.name = name;
        this.number = number;
        this.time = time;
        this.flag = flag;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", number='" + number + '\'' +
                ", time=" + time +
                ", flag=" + flag +
                '}';
    }
}
